import request from '@/api/request/request.js'
const API = {
  SAVE_URL: "/huaweiapi/saveSelfCases",
  SELECTALL:"/huaweiapi/selectSelfCases",
  GET_CONTENT:"/huaweiapi/getContent"


}


export const saveSelfCases = async (data) => {
  return await request.post(API.SAVE_URL, data);

}


export const selectFiles = async (data) => {
  return await request.post(API.SELECTALL, data);

}


export const getContent=async (data)=>{

  return await request.post(API.GET_CONTENT, data);
}